#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	int a = 0; 
	int b = 0;
	int ret = 0;
	while (scanf("%d %d", &a, &b) != -1)
	{
		ret = a + b;
		if (ret < 100)
		{
			printf("%d\n", ret);
		}
		if (ret > 100 && ret % 100 >= 10)
		{
			ret %= 100;
			printf("%d\n", ret);
		}
		if (ret >= 100 && ret % 100 < 10)
		{
			ret %= 10;
			printf("%d\n", ret);
		}
	}
	return 0;
}